<template lang="html">
  <div class="main-page" id="store-page">
    <nav-bar :title="title"  @goBack="onClickLeft"/>
    <div class="fine">
      <img :src="imgPath('/images/active/ad_1.jpg')" alt="">
      <div class="btn" @click="goUrl"></div>
    </div>
  </div>
</template>

<script>
import NavBar from '@/components/global/nav-bar.vue'
import Tool from '@/utils/tool.js'

export default {
  components: { NavBar },
  data () {
    return {
      title: '即刻出发用幸福装满家'
    }
  },
  methods: {
    onClickLeft () {
      this.$router.go(-1)
    },
    imgPath (src) {
      return Tool.imgPath(src)
    },
    goUrl () {
      this.$router.push('/active/special/rebate')
    }
  }
}
</script>

<style lang="css" scoped>
.fine img{
  width: 100%; display: block;
}
</style>
